package com.example.controller;

import com.example.service.TicketService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @创建人 Leiwenlong
 * @创建时间 2020/10/28
 * @描述
 **/
public class TicketContrller {

    @Autowired
    TicketService ticketService;

    @GetMapping("/getTicket")
    public String getTicket(){
        return ticketService.getTicket();
    }
}
